package activation;

public class PositiveLinear implements ActivationFunction{
	public double getActivation(double membranePotential) {
		return membranePotential>0?membranePotential:0.0;
	}
	
	public double getActivationDerivative(double membranePotential) {
		return membranePotential>0?1.0:0.0;
	}
}
